﻿@model VietPay.KooBoo.Business.Models.BatchDetailListViewModel

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title>Index</title>
</head>
<body>
    <table>
        <tr>
            <th>
                BatchID
            </th>
            <th>
                ProductID
            </th>
            <th>
                ProductName
            </th>
            <th>
                Quantity
            </th>
            <th>
                QuantityBalance
            </th>
            <th>
                Price
            </th>
            <th>
                Total
            </th>
        </tr>
    
    @foreach (var item in Model.BatchDetailList) {
        <tr>
            <td>
                @item.BatchID
            </td>
            <td>
                @item.ProductID
            </td>
            <td>
                @item.ProductName
            </td>
            <td>
                @item.Quantity
            </td>
            <td>
                @item.QuantityBalance
            </td>
            <td>
                @item.Price
            </td>
            <td>
                @String.Format("{0:F}", item.Total)
            </td>
        </tr>
    }
    
    </table>
</body>
</html>

